<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <style>
        .span2 a{
            display: block;
            text-align: center;
            font-size: 17px;
            line-height: 50px;
        }
        a:hover{
            text-decoration: none;
            background: #999999;
        }
    </style>
</head>
<body>
<div class="container-fluid" style="margin-top: 50px;">
    <div class="row-fluid">
        <div class="span12">
            <div class="row-fluid">
                <div class="span4">
                </div>
                <div class="span4">
                    <h2 class="text-center">
                        欢迎进入学生端
                    </h2>
                </div>
                <div class="span4">
                    <a th:href="@{/}" class="btn" style="float: right">退出</a>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span2" style="margin-top: 50px">
            <ul class="unstyled">
                <li>
                    <div class="md-end-block md-p md-focus">
                        <a th:href="@{/indexUI}" class="md-plain">课程信息</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/information}" class="md-plain" style="background: #999999">个人信息</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/courses}" class="md-plain">学生选课</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/submit}" class="md-plain">提交作业</a>
                    </div>
                    <div class="md-end-block md-p">
                        <a th:href="@{/achievement}" class="md-plain md-expand">个人成绩</a>
                    </div>
                </li>
            </ul>
        </div>
        <div class="span2" style="margin-top: 50px"></div>
        <form method="post" th:action="@{/Submitindividual}">
            <div class="span2"  style="margin-top: 70px">
                <table class="table" >
                    <label>学号</label>
                    <input type="text" name="sid" th:value="${session.student.sid}" disabled="disabled"/>
                    <label>姓名</label>
                    <input type="text" name="sname" th:value="${session.student.sname}" disabled="disabled"/>
                    <label>性别</label>
                    <input type="text" name="sex" th:value="${session.student.sex}" disabled="disabled"/>
                    <label>院系</label>
                    <input type="text" name="department" th:value="${session.student.department}" disabled="disabled"/>
                </table>
            </div>
            <div class="span2"  style="margin-top: 70px">
                <table class="table" >

                    <label>班级</label>
                    <input type="text" th:value="${classInfo.administrativeClass}" disabled="disabled"/>
                    <input type="text" name="classid" th:value="${session.student.classid}" style="display: none"/>

                    <label>手机号</label>
                    <input type="text" name="phone" th:value="${session.student.phone}"/>
                    <label>身份证号码</label>
                    <input type="text" name="idnumber" th:value="${session.student.idnumber}" disabled="disabled"/>
                    <label>密码</label>
                    <input type="text" name="psw" th:value="${session.student.psw}"/><br/><br/>
                    <input class="btn" type="submit" value="提交"/>
                </table>
            </div>
        </form>
        <div class="span4" style="margin-top: 50px"></div>
    </div>
</div>
</body>
</html>